<template>
  <div class="container">
    <div class="header">
      <el-form inline class="searchItem">
        <div style="display: flex;">
          <el-form-item>
              <el-button
                  size="small"
                  type="primary"
                  @click="addOnClick" 
                  icon="el-icon-plus"
                  >新增</el-button
              >
          </el-form-item>
        </div>
        <div style="display: flex;">
          <div></div>
        </div>
      </el-form>
    </div>
    <div class="main">
      <!-- <RlTable
          :search="false"
          :is-pagination="true"
          @on-change="loadTableData"
          ref="rlTable"
      >
          <template #default>
              <el-table-column label="序号" type="index" width="80" fixed="left" />
              <el-table-column prop="code" label="项目编号" />
              <el-table-column prop="name" label="项目名称" />
              <el-table-column prop="person" label="项目负责人" />
              <el-table-column prop="phone" label="联系电话" />
              <el-table-column prop="createTime" label="创建时间" />
              <el-table-column fixed="right" label="操作" width="140">
                  <template slot-scope="{ row }">
                      <Operation :rowData="row" />
                  </template>
              </el-table-column>
          </template>
      </RlTable> -->
    </div>
  </div>
</template>
<script>
export default {
  data(){
    return {
      code: '',
      name: '',
      person: '',
      list: [
        {
          code: '123',
          name: '123',
          person: '123',
          phone: '123',
          createTime: '123'
        },
      ]
    }
  },
  methods:{
    addOnClick(){

    }
  }
}
</script>
<style lang="scss" scoped>
.container {
  color: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
}
.header {
  height: 36px;
  background-color: #0C2E64;
  padding: 21px 15px;
  display: flex;
  margin-bottom: 15px;
  border-radius: 6px;
  .searchItem {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.main {
  height: calc(100vh - 220px);
  position: relative;
  box-sizing: border-box;
}
::v-deep .el-form-item {
  margin-bottom: 0 !important;
  line-height: 36px !important;
  height: 36px !important;
}
::v-deep .el-form-item__label {
  line-height: 36px !important;
  height: 36px!important;
}
::v-deep .el-form-item__content {
  line-height: 36px !important;
  height: 36px !important;
}
</style>